
NAME=         	calc

SRC=            main.c \
                make_calc.c \
                basics.c \
                my_str_to_wordtab.c \
                parenthesis.c

OBJ=            $(SRC:.c=.o)

RM=             rm -rvf

all:            $(NAME)

$(NAME):        $(OBJ)
	$(CC) -o $(NAME) $(SRC)

fclean  :       clean
	$(RM) $(NAME)

clean:
	$(RM) *.o *~ *#

re:     fclean all